package com.modules.dao.sys;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.modules.dto.sys.req.UserEntityReq;
import com.modules.dto.sys.resp.UserEntityResp;
import com.modules.entity.sys.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 用户接口
 * @author yyq
 *
 */

@Mapper
public interface UserDao extends BaseMapper<UserEntity>{

	
	List<UserEntityResp> select(@Param(value="model") UserEntityReq user);

	Integer selectCount(@Param(value="model")UserEntityReq user);

	UserEntityResp selectLogin(UserEntity user);
	
	UserEntity existsData(UserEntity user);

}
